package com.market.plus.core.dto;

import com.googlecode.simpleobjectassembler.annotation.EntityDto;

@EntityDto(id = "id")
public class AvatarDto  {

   private Long id;

   private ContentFileDto contentFile;

   private Integer status;

   public AvatarDto() {
   }

   public Long getId() {
      return id;
   }

   public void setId(Long id) {
      this.id = id;
   }

   public ContentFileDto getContentFile() {
      return contentFile;
   }

   public void setContentFile(ContentFileDto contentFile) {
      this.contentFile = contentFile;
   }

   public Integer getStatus() {
      return status;
   }

   public void setStatus(Integer status) {
      this.status = status;
   }

   @Override
   public boolean equals(Object obj) {
      AvatarDto objectCompare = (AvatarDto) obj;
      if (this.getId().longValue() == objectCompare.getId().longValue()) {
         return true;
      }
      return false;
   }
}
